package com.sportswork.sportswork.core.mapper;

import com.sportswork.sportswork.core.entity.Credit;
import com.sportswork.sportswork.core.entity.Teacher;

import java.util.List;

/**
 * @author dengwei
 * @date 2020/1/9 14:43
 * @description
 */
public interface CreditMapper {
    void addCredit(Credit credit);
    Credit getCredit(String id);
    Credit getCreditByXsid(String xsid);
    Credit getCreditByNumber(String number);
    List<Credit> getAllCredits(String number, String name,String xsid);
    void deleteCredit(String id);
    void deleteCredits(String ids);
    void setCredit(Credit credit);
    void setCreditByXsid(Credit credit);
    long getCount();
}
